﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="AdminNotificationDataSet" targetNamespace="http://tempuri.org/AdminNotificationDataSet.xsd" xmlns:mstns="http://tempuri.org/AdminNotificationDataSet.xsd" xmlns="http://tempuri.org/AdminNotificationDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="1" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="DatabaseConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="DatabaseConnectionString (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.DatabaseConnectionString.ConnectionString" Provider="System.Data.SqlClient" />
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="DBCS" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="DBCS (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.DBCS.ConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="NotificationSettingTableAdapter" GeneratorDataComponentClassName="NotificationSettingTableAdapter" Name="NotificationSetting" UserDataComponentName="NotificationSettingTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="DBCS (Web.config)" DbObjectName="dbo.NotificationSetting" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[NotificationSetting] WHERE (([Id] = @Original_Id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[NotificationSetting] ([ShutDown], [OtherNotification], [ShutDownStatus]) VALUES (@ShutDown, @OtherNotification, @ShutDownStatus)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ShutDown" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ShutDown" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OtherNotification" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OtherNotification" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ShutDownStatus" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ShutDownStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT Id, [ShutDown], OtherNotification, ShutDownStatus FROM dbo.NotificationSetting</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[NotificationSetting] SET [ShutDown] = @ShutDown, [OtherNotification] = @OtherNotification, [ShutDownStatus] = @ShutDownStatus WHERE (([Id] = @Original_Id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ShutDown" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ShutDown" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OtherNotification" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OtherNotification" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ShutDownStatus" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ShutDownStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Id" DataSetColumn="Id" />
              <Mapping SourceColumn="ShutDown" DataSetColumn="ShutDown" />
              <Mapping SourceColumn="OtherNotification" DataSetColumn="OtherNotification" />
              <Mapping SourceColumn="ShutDownStatus" DataSetColumn="ShutDownStatus" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="DBCS (Web.config)" DbObjectName="dbo.NotificationSetting" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBy" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataForNotification" GeneratorSourceName="FillBy" GetMethodModifier="Public" GetMethodName="GetDataForNotification" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataForNotification" UserSourceName="FillBy">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        Id, [ShutDown], OtherNotification, ShutDownStatus
FROM            NotificationSetting</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="DBCS (Web.config)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="UpdateQueryForNotif" Modifier="Public" Name="UpdateQueryForNotif" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="UpdateQueryForNotif">
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>UPDATE [dbo].[NotificationSetting] SET [ShutDown] = @ShutDown, [OtherNotification] = @OtherNotification, [ShutDownStatus] = @ShutDownStatus WHERE (([Id] = @Original_Id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="ShutDown" ColumnName="ShutDown" DataSourceName="[C:\USERS\DIVYAPRAKASH VERMA\DOCUMENTS\VISUAL STUDIO 2013\WEBSITES\NEWH\APP_DATA\DATABASE.MDF].dbo.NotificationSetting" DataTypeServer="nvarchar(MAX)" DbType="String" Direction="Input" ParameterName="@ShutDown" Precision="0" ProviderType="NVarChar" Scale="0" Size="2147483647" SourceColumn="ShutDown" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="OtherNotification" ColumnName="OtherNotification" DataSourceName="[C:\USERS\DIVYAPRAKASH VERMA\DOCUMENTS\VISUAL STUDIO 2013\WEBSITES\NEWH\APP_DATA\DATABASE.MDF].dbo.NotificationSetting" DataTypeServer="nvarchar(200)" DbType="String" Direction="Input" ParameterName="@OtherNotification" Precision="0" ProviderType="NVarChar" Scale="0" Size="200" SourceColumn="OtherNotification" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="ShutDownStatus" ColumnName="ShutDownStatus" DataSourceName="[C:\USERS\DIVYAPRAKASH VERMA\DOCUMENTS\VISUAL STUDIO 2013\WEBSITES\NEWH\APP_DATA\DATABASE.MDF].dbo.NotificationSetting" DataTypeServer="nvarchar(10)" DbType="String" Direction="Input" ParameterName="@ShutDownStatus" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumn="ShutDownStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="Original_Id" ColumnName="Id" DataSourceName="[C:\USERS\DIVYAPRAKASH VERMA\DOCUMENTS\VISUAL STUDIO 2013\WEBSITES\NEWH\APP_DATA\DATABASE.MDF].dbo.NotificationSetting" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="AdminNotificationDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_DataSetName="AdminNotificationDataSet" msprop:Generator_UserDSName="AdminNotificationDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="NotificationSetting" msprop:Generator_TableClassName="NotificationSettingDataTable" msprop:Generator_TableVarName="tableNotificationSetting" msprop:Generator_RowChangedName="NotificationSettingRowChanged" msprop:Generator_TablePropName="NotificationSetting" msprop:Generator_RowDeletingName="NotificationSettingRowDeleting" msprop:Generator_RowChangingName="NotificationSettingRowChanging" msprop:Generator_RowEvHandlerName="NotificationSettingRowChangeEventHandler" msprop:Generator_RowDeletedName="NotificationSettingRowDeleted" msprop:Generator_RowClassName="NotificationSettingRow" msprop:Generator_UserTableName="NotificationSetting" msprop:Generator_RowEvArgName="NotificationSettingRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" msprop:Generator_UserColumnName="Id" type="xs:int" />
              <xs:element name="ShutDown" msprop:Generator_ColumnVarNameInTable="columnShutDown" msprop:Generator_ColumnPropNameInRow="ShutDown" msprop:Generator_ColumnPropNameInTable="ShutDownColumn" msprop:Generator_UserColumnName="ShutDown" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="OtherNotification" msprop:Generator_ColumnVarNameInTable="columnOtherNotification" msprop:Generator_ColumnPropNameInRow="OtherNotification" msprop:Generator_ColumnPropNameInTable="OtherNotificationColumn" msprop:Generator_UserColumnName="OtherNotification" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ShutDownStatus" msprop:Generator_ColumnVarNameInTable="columnShutDownStatus" msprop:Generator_ColumnPropNameInRow="ShutDownStatus" msprop:Generator_ColumnPropNameInTable="ShutDownStatusColumn" msprop:Generator_UserColumnName="ShutDownStatus" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:NotificationSetting" />
      <xs:field xpath="mstns:Id" />
    </xs:unique>
  </xs:element>
</xs:schema>